Class: Ikbis::Simple::User

Inherits:
Base
  • Object
show all
Defined in:
lib/ikbis/simple/user.rb

Class Method Summary collapse

Class Method Details

.albums(id, response = 'xml', page = 1) ⇒ Object



28
29
30
# File 'lib/ikbis/simple/user.rb', line 28

def self.albums(id, response='xml', page=1)
  get("/#{id}/albums.#{response}?page=#{page}")
end

.channels(id, response = 'xml', page = 1) ⇒ Object



32
33
34
# File 'lib/ikbis/simple/user.rb', line 32

def self.channels(id, response='xml', page=1)
  get("/#{id}/channels.#{response}?page=#{page}")
end

.contacts(id, response = 'xml', page = 1) ⇒ Object



36
37
38
# File 'lib/ikbis/simple/user.rb', line 36

def self.contacts(id, response='xml', page=1)
  get("/#{id}/contacts.#{response}?page=#{page}")
end

.favorites(id, response = 'xml', page = 1) ⇒ Object



24
25
26
# File 'lib/ikbis/simple/user.rb', line 24

def self.favorites(id, response='xml', page=1)
  get("/#{id}/favorites.#{response}?page=#{page}")
end

.info(id, response = 'xml') ⇒ Object



8
9
10
# File 'lib/ikbis/simple/user.rb', line 8

def self.info(id, response='xml')
  get("/#{id}.#{response}")
end

.medias(id, response = 'xml', page = 1) ⇒ Object



20
21
22
# File 'lib/ikbis/simple/user.rb', line 20

def self.medias(id, response='xml', page=1)
  get("/#{id}/medias.#{response}?page=#{page}")
end

.photos(id, response = 'xml', page = 1) ⇒ Object



16
17
18
# File 'lib/ikbis/simple/user.rb', line 16

def self.photos(id, response='xml', page=1)
  get("/#{id}/photos.#{response}?page=#{page}")
end

.videos(id, response = 'xml', page = 1) ⇒ Object



12
13
14
# File 'lib/ikbis/simple/user.rb', line 12

def self.videos(id, response='xml', page=1)
  get("/#{id}/videos.#{response}?page=#{page}")
end