Class: NoyoFulfillment::GroupPlans::Base

Inherits:
ApiResource show all
Includes:
Mixins::NestedUnder
Defined in:
lib/noyo_fulfillment/models/group_plans/base.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Mixins::NestedUnder

included

Methods inherited from ApiResource

all, authenticate, #create, #create_hash, #create_url, find, get_body, handle_unauthenticated, headers, #initialize, perform_request_authenticated, resource_url, #resource_url, #single_resource_url, single_resource_url

Methods included from NoyoApi::Client::UserAgent

included

Methods inherited from BaseModel

#==, #attributes, class_name, #excluded_attributes, #initialize, #inspect, #synced_attributes, #to_h, #update_attrs

Constructor Details

This class inherits a constructor from NoyoFulfillment::ApiResource

Instance Attribute Details

#codeObject

Returns the value of attribute code.



7
8
9
# File 'lib/noyo_fulfillment/models/group_plans/base.rb', line 7

def code
  @code
end

#createdObject

Returns the value of attribute created.



7
8
9
# File 'lib/noyo_fulfillment/models/group_plans/base.rb', line 7

def created
  @created
end

#group_enrollment_idObject

Returns the value of attribute group_enrollment_id.



7
8
9
# File 'lib/noyo_fulfillment/models/group_plans/base.rb', line 7

def group_enrollment_id
  @group_enrollment_id
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/noyo_fulfillment/models/group_plans/base.rb', line 7

def id
  @id
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/noyo_fulfillment/models/group_plans/base.rb', line 7

def name
  @name
end

#versionObject

Returns the value of attribute version.



7
8
9
# File 'lib/noyo_fulfillment/models/group_plans/base.rb', line 7

def version
  @version
end

Class Method Details

.resource_path_nameObject



17
18
19
# File 'lib/noyo_fulfillment/models/group_plans/base.rb', line 17

def self.resource_path_name
  'plans'
end