Module: InfinityStone

Includes:
HTTParty
Defined in:
lib/infinity_stone.rb,
lib/infinity_stone/version.rb

Overview

require ‘pry’

Constant Summary collapse

VERSION =
"0.1.4"

Class Method Summary collapse

Class Method Details

.character(id, options = {}) ⇒ Object



14
15
16
# File 'lib/infinity_stone.rb', line 14

def self.character(id, options = {})
  get("/characters/#{id}",query: options)
end

.characters(options = {}) ⇒ Object



10
11
12
# File 'lib/infinity_stone.rb', line 10

def self.characters(options={})
  get('/characters',query: options)
end