Method: Megam::Flavors#for_json

Defined in:
lib/megam/core/flavors.rb

#for_jsonObject



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
# File 'lib/megam/core/flavors.rb', line 181

def for_json
    result = {
        'id' => id,
        'account_id' => ,
        'name' => name,
        'org_id' => org_id,
        'cpu' => cpu,
        'ram' => ram,
        'disk' => disk,
        'regions' => regions,
        'price' => price,
        'properties' => properties,
        'category' => category,
        'status' => status,
        'created_at' => created_at,
        'updated_at' => updated_at
    }

    result
end