Class: Paddle::EventType

Inherits:
Object
  • Object
show all
Defined in:
lib/paddle/models/event_type.rb

Class Method Summary collapse

Methods inherited from Object

#initialize, #to_ostruct, #update

Constructor Details

This class inherits a constructor from Paddle::Object

Class Method Details

.listObject



4
5
6
7
# File 'lib/paddle/models/event_type.rb', line 4

def list
  response = Client.get_request("event-types")
  Collection.from_response(response, type: EventType)
end