Class: Oboobs::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/oboobs/client.rb

Constant Summary collapse

DOMAIN =
"http://api.oboobs.ru"

Instance Method Summary collapse

Instance Method Details

#boobs(start = 0, count = 1, order = 'id') ⇒ Object



8
9
10
# File 'lib/oboobs/client.rb', line 8

def boobs(start = 0, count = 1, order = 'id')
  get "/boobs/#{start}/#{count}/#{order}"
end

#by_id(id) ⇒ Object



12
13
14
# File 'lib/oboobs/client.rb', line 12

def by_id(id)
	get "/boobs/get/#{id}"
end

#countObject



16
17
18
# File 'lib/oboobs/client.rb', line 16

def count
  get "/boobs/count"
end