Class: Singly::Services::Github

Inherits:
Object
  • Object
show all
Includes:
Endpoint, Service
Defined in:
lib/singly/api/services/github.rb

Instance Attribute Summary

Attributes included from Endpoint

#options, #path

Instance Method Summary collapse

Methods included from Service

included, #service=, #service_endpoint

Methods included from Endpoint

#fetch, #initialize, #url, #validate

Instance Method Details

#events(params = {}) ⇒ Object



12
13
14
# File 'lib/singly/api/services/github.rb', line 12

def events(params={})
  service_endpoint(__method__, params)
end

#followers(params = {}) ⇒ Object



28
29
30
# File 'lib/singly/api/services/github.rb', line 28

def followers(params={})
  service_endpoint(__method__, params)
end

#following(params = {}) ⇒ Object



24
25
26
# File 'lib/singly/api/services/github.rb', line 24

def following(params={})
  service_endpoint(__method__, params)
end

#received(params = {}) ⇒ Object



16
17
18
# File 'lib/singly/api/services/github.rb', line 16

def received(params={})
  service_endpoint(__method__, params)
end

#repos(params = {}) ⇒ Object



20
21
22
# File 'lib/singly/api/services/github.rb', line 20

def repos(params={})
  service_endpoint(__method__, params)
end

#self(params = {}) ⇒ Object



8
9
10
# File 'lib/singly/api/services/github.rb', line 8

def self(params={})
  service_endpoint(__method__, params)
end