Method: Payjp::PayjpObject#inspect
- Defined in:
- lib/payjp/payjp_object.rb
#inspect ⇒ Object
37 38 39 40 |
# File 'lib/payjp/payjp_object.rb', line 37 def inspect id_string = (self.respond_to?(:id) && !id.nil?) ? " id=#{id}" : "" "#<#{self.class}:0x#{object_id.to_s(16)}#{id_string}> JSON: " + JSON.pretty_generate(@values) end |