Class: MOCO::Customer Deprecated

Inherits:
BaseEntity show all
Defined in:
lib/moco/entities.rb

Overview

Deprecated.

Use MOCO::Company from entities/company.rb instead

hundertzehn.github.io/mocoapp-api-docs/sections/companies.html

Instance Attribute Summary collapse

Attributes inherited from BaseEntity

#attributes, #client

Method Summary

Methods inherited from BaseEntity

#==, #association, #destroy, #eql?, #has_many, #hash, #initialize, #inspect, #reload, #save, #to_h, #to_json, #to_s, #update

Constructor Details

This class inherits a constructor from MOCO::BaseEntity

Instance Attribute Details

#idObject

Returns the value of attribute id.



85
86
87
# File 'lib/moco/entities.rb', line 85

def id
  @id
end

#nameObject

Returns the value of attribute name.



85
86
87
# File 'lib/moco/entities.rb', line 85

def name
  @name
end