Class: Status::GithubRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/status/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGithubRequest

Returns a new instance of GithubRequest.



16
17
18
19
# File 'lib/status/request.rb', line 16

def initialize
  @url = "https://api.github.com"
  @options = {}
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



15
16
17
# File 'lib/status/request.rb', line 15

def options
  @options
end

#urlObject (readonly)

Returns the value of attribute url.



15
16
17
# File 'lib/status/request.rb', line 15

def url
  @url
end