Class: Capistrano::Fiesta::Github

Inherits:
Object
  • Object
show all
Defined in:
lib/capistrano/fiesta/github.rb

Class Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



8
9
10
# File 'lib/capistrano/fiesta/github.rb', line 8

def config
  @config
end

Class Method Details

.clientObject



11
12
13
# File 'lib/capistrano/fiesta/github.rb', line 11

def self.client
  new.client
end

Instance Method Details

#clientObject



15
16
17
# File 'lib/capistrano/fiesta/github.rb', line 15

def client
  Octokit::Client.new(config)
end