class Kitties::V1::Client

see docs.api.cryptokitties.co

Public Class Methods

new() click to toggle source
Calls superclass method Kitties::Client::new
# File lib/kittyverse/api/service_v1.rb, line 7
def initialize
  super( base_uri: "https://public.api.cryptokitties.co/v1",
         token:    Kitties.configuration.token )
end

Public Instance Methods

get_cattributes() click to toggle source
# File lib/kittyverse/api/service_v1.rb, line 12
def get_cattributes()      get('/cattributes'); end
get_colors_body() click to toggle source
# File lib/kittyverse/api/service_v1.rb, line 16
def get_colors_body()      get('/colors/body'); end
get_colors_eyes() click to toggle source
# File lib/kittyverse/api/service_v1.rb, line 17
def get_colors_eyes()      get('/colors/eyes'); end
get_colors_secondary() click to toggle source
# File lib/kittyverse/api/service_v1.rb, line 18
def get_colors_secondary() get('/colors/secondary'); end
get_colors_tertiary() click to toggle source
# File lib/kittyverse/api/service_v1.rb, line 19
def get_colors_tertiary()  get('/colors/tertiary'); end
get_kitten( id )
Alias for: get_kitty
get_kitty( id ) click to toggle source
# File lib/kittyverse/api/service_v1.rb, line 13
def get_kitty( id )        get("/kitties/#{id}"); end
Also aliased as: get_kitten