Class: Status::GithubRequest
- Inherits:
-
Object
- Object
- Status::GithubRequest
- Defined in:
- lib/status/request.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ GithubRequest
constructor
A new instance of GithubRequest.
Constructor Details
#initialize ⇒ GithubRequest
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
#options ⇒ Object (readonly)
Returns the value of attribute options.
15 16 17 |
# File 'lib/status/request.rb', line 15 def @options end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
15 16 17 |
# File 'lib/status/request.rb', line 15 def url @url end |