Class: Patreon::Campaign
- Defined in:
- lib/patreon/objects/campaign.rb
Constant Summary collapse
- DEFAULT_FIELDS =
"created_at,creation_name,discord_server_id,google_analytics_id,has_rss,has_sent_rss_notify,image_small_url,image_url,is_charged_immediately,is_monthly,is_nsfw,main_video_embed,main_video_url,one_liner,patron_count,pay_per_name,pledge_url,published_at,rss_artwork_url,rss_feed_title,show_earnings,summary,thanks_embed,thanks_msg,thanks_video_url,url,vanity"
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Campaign
constructor
A new instance of Campaign.
Methods inherited from Object
Constructor Details
#initialize(options = {}) ⇒ Campaign
Returns a new instance of Campaign.
6 7 8 9 10 |
# File 'lib/patreon/objects/campaign.rb', line 6 def initialize( = {}) super self.id = ["id"] if ["id"] end |