Class: LittleLight::Client

Inherits:
Object
  • Object
show all
Includes:
HTTParty, Clan, User, Vendor
Defined in:
lib/little_light/client.rb

Instance Method Summary collapse

Methods included from Vendor

#get_all_vendors, #get_one_vendor

Methods included from Clan

#get_banned_clan_members, #get_clan_admin_founders, #get_clan_by_id, #get_clan_by_name, #get_clan_members, #get_clan_optional_convos, #get_clan_weekly_state

Methods included from User

#get_bungie_net_profile, #get_character, #get_current_user_membership, #get_destiny_profile, #get_groups_for_user, #get_item, #get_linked_profiles, #get_user_by_membership, #get_user_clan_avatar, #get_user_clan_theme, #get_user_partnerships, #get_user_themes, #search_bungie_net_by_username, #search_destiny_player

Constructor Details

#initialize(api_key) ⇒ Client



17
18
19
# File 'lib/little_light/client.rb', line 17

def initialize(api_key)
  @headers = {"x-api-key" => api_key,  "Content-Type" => "application/json" }
end