Class: Vindi::Discount

Inherits:
Resource show all
Extended by:
APIOperations::Create, APIOperations::Delete, APIOperations::List
Defined in:
lib/vindi/resources/discount.rb

Instance Attribute Summary

Attributes inherited from Resource

#attributes

Class Method Summary collapse

Methods included from APIOperations::List

list

Methods included from APIOperations::Create

create

Methods included from APIOperations::Delete

delete

Methods inherited from Resource

#initialize, #inspect, #method_missing, #respond_to_missing?

Constructor Details

This class inherits a constructor from Vindi::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Vindi::Resource

Class Method Details

.endpointObject



9
10
11
# File 'lib/vindi/resources/discount.rb', line 9

def self.endpoint
  "discounts"
end