Class: EY::ServicesAPI::Invoice
- Inherits:
-
Object
- Object
- EY::ServicesAPI::Invoice
- Defined in:
- lib/ey_services_api/invoice.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
-
#status ⇒ Object
Returns the value of attribute status.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
4 5 6 |
# File 'lib/ey_services_api/invoice.rb', line 4 def connection @connection end |
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/ey_services_api/invoice.rb', line 6 def status @status end |
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/ey_services_api/invoice.rb', line 5 def url @url end |
Instance Method Details
#destroy ⇒ Object
8 9 10 |
# File 'lib/ey_services_api/invoice.rb', line 8 def destroy connection.destroy_invoice(self.url) end |