Method: Megam::Subscriptions#for_json
- Defined in:
- lib/megam/core/subscriptions.rb
#for_json ⇒ Object
97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/megam/core/subscriptions.rb', line 97 def for_json result = { "id" => id, "account_id" => account_id, "model" => model, "license" => license, "trial_ends" => trial_ends, "created_at" => created_at } result end |