Class: GroupMe::Client
- Inherits:
-
Object
- Object
- GroupMe::Client
- Defined in:
- lib/groupme/client.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Likes
Methods included from Users
Methods included from Messages
#create_message, #messages, #messages_count
Methods included from Bots
#bot_post, #bots, #create_bot, #destroy_bot
Methods included from Members
#add_member, #add_members, #membership_results, #remove_member
Methods included from Groups
#create_group, #destroy_group, #former_groups, #group, #groups, #join_group, #update_group
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
11 12 13 14 |
# File 'lib/groupme/client.rb', line 11 def initialize( = {}) @token = [:token].to_s fail ArgumentError, ":token can't be blank" if @token.empty? end |