Class: Patreon::Tier
- Defined in:
- lib/patreon/objects/tier.rb
Constant Summary collapse
- DEFAULT_FIELDS =
"amount_cents,created_at,description,discord_role_ids,edited_at,image_url,patron_count,post_count,published,published_at,remaining,requires_shipping,title,unpublished_at,url,user_limit"
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Tier
constructor
A new instance of Tier.
Methods inherited from Object
Constructor Details
#initialize(options = {}) ⇒ Tier
Returns a new instance of Tier.
6 7 8 9 10 |
# File 'lib/patreon/objects/tier.rb', line 6 def initialize( = {}) super self.id = ["id"] if ["id"] end |