Class: Patreon::Goal
- Defined in:
- lib/patreon/objects/goal.rb
Constant Summary collapse
- DEFAULT_FIELDS =
"amount_cents,completed_percentage,created_at,description,reached_at,title"
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Goal
constructor
A new instance of Goal.
Methods inherited from Object
Constructor Details
#initialize(options = {}) ⇒ Goal
Returns a new instance of Goal.
6 7 8 9 10 |
# File 'lib/patreon/objects/goal.rb', line 6 def initialize( = {}) super self.id = ["id"] if ["id"] end |