class Beehiiv::Segment

Included Modules

Defined in:

beehiiv/objects/core/segment.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.delete(client : HTTP::Client, publication_id : String, id : String) #

[View source]
def self.delete(segment : Beehiiv::Segment) #

[View source]
def self.expand_results(client : HTTP::Client, publication_id : String, id : String) #

[View source]
def self.list(client : HTTP::Client, publication_id : String) : List(Beehiiv::Segment) #

[View source]
def self.retrieve(client : HTTP::Client, publication_id : String, id : String) : Object(Beehiiv::Segment) #

[View source]
def self.retrieve(segment : Beehiiv::Segment) #

[View source]

Instance Method Detail

def active : Bool #

[View source]
def id : String #

[View source]
def last_calculated : Time | Nil #

[View source]
def name : String #

[View source]
def segment_type : SegmentType #

[View source]
def status : Status #

[View source]
def total_results : Int32 #

[View source]