Class: Updox::Models::Practice

Inherits:
Hashie::Trash
  • Object
show all
Includes:
Hashie::Extensions::IndifferentAccess
Defined in:
lib/updox/models/practice.rb

Constant Summary collapse

CREATE_ENDPOINT =
'/practiceCreate'.freeze

Instance Method Summary collapse

Instance Method Details

#createObject



33
34
35
# File 'lib/updox/models/practice.rb', line 33

def create
  UpdoxClient.connection.request(endpoint: CREATE_ENDPOINT, body: self.to_h)
end