Module: Cotoha::Endpoint::UserAttribute

Included in:
Cotoha::Endpoint
Defined in:
lib/cotoha/endpoint/user_attribute.rb

Instance Method Summary collapse

Instance Method Details

#user_attribute(document:, type: nil, do_segment: false) ⇒ Object



4
5
6
# File 'lib/cotoha/endpoint/user_attribute.rb', line 4

def user_attribute(document:, type: nil, do_segment: false)
  post('/api/dev/nlp/beta/user_attribute', document: document, type: type, do_segment: do_segment)
end