class OSRM::Response::BaseObject

:nodoc

Attributes

origin_response[RW]

Public Class Methods

new(json) click to toggle source
# File lib/osrm_api/response/base_object.rb, line 7
def initialize(json)
  @origin_response = json.freeze
  cast
end

Private Instance Methods

cast() click to toggle source
# File lib/osrm_api/response/base_object.rb, line 14
def cast
  fail 'Method should be implemented'
end