Class: JustimmoClient::V1::JustimmoBase Private

Inherits:
Object
  • Object
show all
Includes:
Logging, Utils
Defined in:
lib/justimmo_client/api/v1/models/justimmo_base.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Methods included from Utils

#autoload_dir, #translate

Methods included from Logging

default_logger, #logger, rails_logger

Instance Method Details

#==(other) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



25
26
27
28
29
# File 'lib/justimmo_client/api/v1/models/justimmo_base.rb', line 25

def ==(other)
  return true if equal?(other)
  return false unless other.is_a?(JustimmoBase)
  to_h == other.to_h
end

#save!Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Dummy method for FactoryGirl



18
19
# File 'lib/justimmo_client/api/v1/models/justimmo_base.rb', line 18

def save!
end

#to_hObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



21
22
23
# File 'lib/justimmo_client/api/v1/models/justimmo_base.rb', line 21

def to_h
  deep_to_h
end