Class: Monokera::SDK::Plan

Inherits:
ActiveModel show all
Defined in:
lib/monokera/sdk/plan.rb

Direct Known Subclasses

EndorsedPlanPreview

Constant Summary collapse

BASE_ENDPOINT =
'/v1/plans'

Class Method Summary collapse

Methods inherited from ActiveModel

all, build, build_data, collection_endpoint, create, create!, #destroy, find, #new_record?, #persisted?, raven_context, resource_endpoint, #save, #save!, serialize_keys_json_api, #update, #update!

Methods inherited from Model

#add_error, #as_json, #except_attributes!, model_name, #to_json, #valid?

Methods included from ActiveModelSerializer

#read_attribute_for_serialization

Class Method Details

.clientObject



17
18
19
# File 'lib/monokera/sdk/plan.rb', line 17

def self.client
  @client ||= BillingService::Client.new
end