Class: SmoothOperator::Base

Inherits:
OpenStruct show all
Extended by:
Associations, FinderMethods, HttpMethods, Schema, Translation
Includes:
FinderMethods, HttpMethods, Operator, Persistence
Defined in:
lib/smooth_operator.rb

Direct Known Subclasses

Rails

Constant Summary

Constants included from HttpMethods

HttpMethods::HTTP_VERBS

Instance Attribute Summary

Attributes included from Persistence

#last_remote_call

Attributes included from AttributeAssignment

#_meta_data, #_options

Class Method Summary collapse

Methods included from Schema

attribute_type, internal_structure, known_attribute?, schema

Methods included from Associations

belongs_to, has_many, has_one, rails_serialization, reflect_on_all_associations, reflect_on_association, reflections

Methods included from FinderMethods

find

Methods included from Translation

human_attribute_name

Methods included from Persistence

#destroy, #destroyed?, included, #known_attribute?, #marked_for_destruction?, #new_record?, #persisted?, #reload, #save, #save!

Methods included from Operator

#headers, included, #make_the_call, #resource_path

Methods included from Options

#config_options, #get_option, #smooth_operator_options

Methods included from ResourceName

#custom_model_name, #model_name, #resource_name, #resources_name

Methods included from AttributeAssignment

#assign_attributes, #initialize

Methods included from Serialization

#attributes, #read_attribute_for_serialization, #serializable_hash, #to_hash, #to_json

Methods included from InternalData

#internal_data, #internal_data_get, #internal_data_push, #known_attribute?, #known_attributes

Methods included from Validations

#clear_induced_errors, included, #induce_errors, #induced_errors, #invalid?, #valid?

Methods included from Delegation

included, #method_missing, #respond_to?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SmoothOperator::Delegation

Class Method Details

.smooth_operator?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/smooth_operator.rb', line 28

def self.smooth_operator?
  true
end