Sha256: 86992195d023b11aa9f5dda1e0f8def58f75c5c5c67622fe6d719674cdde1645
Contents?: true
Size: 1.11 KB
Versions: 4
Compression:
Stored size: 1.11 KB
Contents
module ChatWork module Me extend EntityMethods # Get your account information # # @see http://developer.chatwork.com/ja/endpoint_me.html#GET-me # @see http://download.chatwork.com/ChatWork_API_Documentation.pdf # # @return [Hashie::Mash] # # @example response format # { # "account_id": 123, # "room_id": 322, # "name": "John Smith", # "chatwork_id": "tarochatworkid", # "organization_id": 101, # "organization_name": "Hello Company", # "department": "Marketing", # "title": "CMO", # "url": "http://mycompany.example.com", # "introduction": "Self Introduction", # "mail": "taro@example.com", # "tel_organization": "XXX-XXXX-XXXX", # "tel_extension": "YYY-YYYY-YYYY", # "tel_mobile": "ZZZ-ZZZZ-ZZZZ", # "skype": "myskype_id", # "facebook": "myfacebook_id", # "twitter": "mytwitter_id", # "avatar_image_url": "https://example.com/abc.png", # "login_mail": "account@example.com" # } def self.get _get("/me") end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
chatwork-0.7.0 | lib/chatwork/me.rb |
chatwork-0.6.2 | lib/chatwork/me.rb |
chatwork-0.6.1 | lib/chatwork/me.rb |
chatwork-0.6.0 | lib/chatwork/me.rb |