Method: Megam::Subscriptions#for_json
- Defined in:
- lib/megam/core/subscriptions.rb
#for_json ⇒ Object
115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/megam/core/subscriptions.rb', line 115 def for_json result = { "id" => id, "accounts_id" => accounts_id, "assembly_id" => assembly_id, "start_date" => start_date, "end_date" => end_date, "created_at" => created_at } result end |