Class: Pinter::Result

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/pinter/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Base

#set_instance_variables_from_hash

Constructor Details

#initialize(attributes) ⇒ Result

Returns a new instance of Result.



8
9
10
# File 'lib/pinter/result.rb', line 8

def initialize(attributes)
  set_instance_variables_from_hash attributes
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



6
7
8
# File 'lib/pinter/result.rb', line 6

def message
  @message
end

#successObject (readonly)

Returns the value of attribute success.



6
7
8
# File 'lib/pinter/result.rb', line 6

def success
  @success
end