Class: Patreon::Benefit
- Defined in:
- lib/patreon/objects/benefit.rb
Constant Summary collapse
- DEFAULT_FIELDS =
"app_external_id,app_meta,benefit_type,created_at,deliverables_due_today_count,delivered_deliverables_count,description,is_deleted,is_ended,is_published,next_deliverable_due_date,not_delivered_deliverables_count,rule_type,tiers_count,title"
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Benefit
constructor
A new instance of Benefit.
Methods inherited from Object
Constructor Details
#initialize(options = {}) ⇒ Benefit
Returns a new instance of Benefit.
6 7 8 9 10 |
# File 'lib/patreon/objects/benefit.rb', line 6 def initialize( = {}) super self.id = ["id"] if ["id"] end |