Class: FsApi::Resource::Client
- Inherits:
-
Object
- Object
- FsApi::Resource::Client
- Extended by:
- ClassMethods
- Includes:
- FsApi::Resource
- Defined in:
- lib/fs_api/resource/client.rb
Instance Attribute Summary
Attributes included from ClassMethods
#attributes, #nillable_attributes
Attributes included from FsApi::Resource
Instance Method Summary collapse
Methods included from ClassMethods
has_attributes, has_boolean_attributes, has_datetime_attributes, has_nillable_attributes
Methods included from FsApi::Resource
#from_api=, #initialize, #persisted?, #to_json, #updateable?
Instance Method Details
#path ⇒ Object
55 56 57 |
# File 'lib/fs_api/resource/client.rb', line 55 def path persisted? ? "/#{clientnr}" : "" end |