class GHFS::Config

Public Class Methods

method_missing(meth, *args, &block) click to toggle source
Calls superclass method
# File lib/github-fs/config.rb, line 5
def self.method_missing(meth, *args, &block)
  if instance.respond_to?(meth)
    instance.send(meth, *args, &block)
  else
    super
  end
end

Public Instance Methods

branch() click to toggle source
# File lib/github-fs/config.rb, line 17
def branch
  @branch || "master"
end
branch=(value) click to toggle source
# File lib/github-fs/config.rb, line 13
def branch= value
  @branch = value
end
github_access_token() click to toggle source
# File lib/github-fs/config.rb, line 25
def github_access_token
  @github_access_token || raise("Github access token is not set")
end
github_access_token=(value) click to toggle source
# File lib/github-fs/config.rb, line 21
def github_access_token= value
  @github_access_token = value
end
repository() click to toggle source
# File lib/github-fs/config.rb, line 33
def repository
  @repository || raise("Github repository is not set")
end
repository=(value) click to toggle source
# File lib/github-fs/config.rb, line 29
def repository= value
  @repository = value
end