Class: DocomoNlu::Management::Organization

Inherits:
Base
  • Object
show all
Defined in:
lib/docomo_nlu/management/organization.rb

Instance Method Summary collapse

Methods inherited from Base

check_response, headers, #id_from_response, instantiate_collection, instantiate_record, #login, #logout, #static_headers

Instance Method Details

#to_json(options = {}) ⇒ Object

Parameter create

"organizationName": "your organization name",
"address": "address",
"tel": "tel"



16
17
18
19
20
# File 'lib/docomo_nlu/management/organization.rb', line 16

def to_json(options = {})
  attributes.delete("organizationId")
  attributes.delete("id")
  super
end