Class: GitWand::GitHub::API::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/git_wand/github/api/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



7
8
9
# File 'lib/git_wand/github/api/result.rb', line 7

def body
  @body
end

#successObject

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

Returns:

  • (Boolean)


9
10
11
# File 'lib/git_wand/github/api/result.rb', line 9

def success?
  @success == true
end