Class: DocomoNlu::Management::Organization
- Defined in:
- lib/docomo_nlu/management/organization.rb
Instance Method Summary collapse
-
#to_json(options = {}) ⇒ Object
Parameter create { “organizationName”: “your organization name”, “address”: “address”, “tel”: “tel” }.
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( = {}) attributes.delete("organizationId") attributes.delete("id") super end |