beehiiv
0.2.0
Beehiiv
EmailBlast
Content
EmailContent
Stats
ClickStats
EmailStats
Status
Error
Type
List
Object
ParamsBuilder
Post
Audience
Content
FreeContent
PremiumContent
Platform
Stats
ClickStats
EmailStats
WebStats
EmailStats
WebStats
Status
Publication
Stats
ReferralProgram
Reward
Segment
SegmentType
Status
Subscription
CustomField
Status
SubscriptionTier
BeehiivMethods
Enum
StringConverter
EventPayload
Exception
class
Beehiiv::ReferralProgram
Beehiiv::ReferralProgram
Reference
Object
Included Modules
JSON::Serializable
Defined in:
beehiiv/objects/core/referral_program.cr
Constructors
.new
(pull : JSON::PullParser)
Class Method Summary
.retrieve
(client : HTTP::Client, id : String)
Instance Method Summary
#auto_fulfill
: Bool
#id
: String
#num_referrals
: Int32
#reward
: Reward | Nil
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
Class Method Detail
def self.
retrieve
(client : HTTP::Client, id : String)
#
Instance Method Detail
def
auto_fulfill
: Bool
#
def
id
: String
#
def
num_referrals
: Int32
#
def
reward
:
Reward
| Nil
#