Class: GitWand::GitHub::API::Result
- Inherits:
-
Object
- Object
- GitWand::GitHub::API::Result
- Defined in:
- lib/git_wand/github/api/result.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
7 8 9 |
# File 'lib/git_wand/github/api/result.rb', line 7 def body @body end |
#success ⇒ Object
Returns the value of attribute success.
7 8 9 |
# File 'lib/git_wand/github/api/result.rb', line 7 def success @success end |
Instance Method Details
#success? ⇒ Boolean
9 10 11 |
# File 'lib/git_wand/github/api/result.rb', line 9 def success? @success == true end |