class Beehiiv::Segment
- Beehiiv::Segment
- Reference
- Object
Included Modules
- BeehiivMethods
- JSON::Serializable
Defined in:
beehiiv/objects/core/segment.crConstructors
Class Method Summary
- .delete(client : HTTP::Client, publication_id : String, id : String)
- .delete(segment : Beehiiv::Segment)
- .expand_results(client : HTTP::Client, publication_id : String, id : String)
- .list(client : HTTP::Client, publication_id : String) : List(Beehiiv::Segment)
- .retrieve(client : HTTP::Client, publication_id : String, id : String) : Object(Beehiiv::Segment)
- .retrieve(segment : Beehiiv::Segment)
Instance Method Summary
- #active : Bool
- #id : String
- #last_calculated : Time | Nil
- #name : String
- #segment_type : SegmentType
- #status : Status
- #total_results : Int32
Constructor Detail
Class Method Detail
def self.retrieve(client : HTTP::Client, publication_id : String, id : String) : Object(Beehiiv::Segment)
#