Class: Singly::Types

Inherits:
Object
  • Object
show all
Includes:
Endpoint
Defined in:
lib/singly/api/types.rb,
lib/singly/api/types/type.rb

Defined Under Namespace

Classes: Type

Instance Attribute Summary

Attributes included from Endpoint

#options, #path

Instance Method Summary collapse

Methods included from Endpoint

#fetch, #initialize, #url, #validate

Instance Method Details

#all(params = {}) ⇒ Object



51
52
53
# File 'lib/singly/api/types.rb', line 51

def all(params={})
  types_endpoint(__method__, params)
end

#all_feed(params = {}) ⇒ Object



55
56
57
# File 'lib/singly/api/types.rb', line 55

def all_feed(params={})
  types_endpoint(__method__, params)
end

#checkins(params = {}) ⇒ Object



31
32
33
# File 'lib/singly/api/types.rb', line 31

def checkins(params={})
  types_endpoint(__method__, params)
end

#checkins_feed(params = {}) ⇒ Object



35
36
37
# File 'lib/singly/api/types.rb', line 35

def checkins_feed(params={})
  types_endpoint(__method__, params)
end

#contacts(params = {}) ⇒ Object



47
48
49
# File 'lib/singly/api/types.rb', line 47

def contacts(params={})
  types_endpoint(__method__, params)
end

#news(params = {}) ⇒ Object



15
16
17
# File 'lib/singly/api/types.rb', line 15

def news(params={})
  types_endpoint(__method__, params)
end

#news_feed(params = {}) ⇒ Object



19
20
21
# File 'lib/singly/api/types.rb', line 19

def news_feed(params={})
  types_endpoint(__method__, params)
end

#photos(params = {}) ⇒ Object



7
8
9
# File 'lib/singly/api/types.rb', line 7

def photos(params={})
  types_endpoint(__method__, params)
end

#photos_feed(params = {}) ⇒ Object



11
12
13
# File 'lib/singly/api/types.rb', line 11

def photos_feed(params={})
  types_endpoint(__method__, params)
end

#statuses(params = {}) ⇒ Object



39
40
41
# File 'lib/singly/api/types.rb', line 39

def statuses(params={})
  types_endpoint(__method__, params)
end

#statuses_feed(params = {}) ⇒ Object



43
44
45
# File 'lib/singly/api/types.rb', line 43

def statuses_feed(params={})
  types_endpoint(__method__, params)
end

#videos(params = {}) ⇒ Object



23
24
25
# File 'lib/singly/api/types.rb', line 23

def videos(params={})
  types_endpoint(__method__, params)
end

#videos_feed(params = {}) ⇒ Object



27
28
29
# File 'lib/singly/api/types.rb', line 27

def videos_feed(params={})
  types_endpoint(__method__, params)
end