Class: Colppy::Resource
- Inherits:
-
Object
- Object
- Colppy::Resource
- Defined in:
- lib/colppy/resource.rb
Direct Known Subclasses
Constant Summary collapse
- VALID_INVOICE_TYPES =
%w(A B C E Z I M X)
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
31 32 33 34 35 36 |
# File 'lib/colppy/resource.rb', line 31 def inspect formatted_attrs = attr_inspect.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<#{self.class.name} #{formatted_attrs.join(", ")}>" end |