class PortaText::Command::Api::Me
The me endpoint. github.com/PortaText/docs/wiki/REST-API#api_me
- Author
-
Marcelo Gornstein (marcelog@portatext.com)
- Copyright
-
Copyright © 2015
PortaText
- License
-
Apache-2.0
Public Instance Methods
callback_url(callback_url)
click to toggle source
# File lib/portatext/command/api/me.rb, line 24 def callback_url(callback_url) set :callback_url, callback_url end
company(company)
click to toggle source
# File lib/portatext/command/api/me.rb, line 16 def company(company) set :company, company end
email(email)
click to toggle source
# File lib/portatext/command/api/me.rb, line 20 def email(email) set :email, email end
endpoint(_method)
click to toggle source
# File lib/portatext/command/api/me.rb, line 36 def endpoint(_method) 'me' end
language(language)
click to toggle source
# File lib/portatext/command/api/me.rb, line 32 def language(language) set :language, language end
name(first, last)
click to toggle source
# File lib/portatext/command/api/me.rb, line 11 def name(first, last) set :first_name, first set :last_name, last end
timezone(timezone)
click to toggle source
# File lib/portatext/command/api/me.rb, line 28 def timezone(timezone) set :timezone, timezone end