Method: OldApiResource::Base.format

Defined in:
lib/old_api_resource/base.rb

.formatObject

Default format is json



112
113
114
# File 'lib/old_api_resource/base.rb', line 112

def format
  read_inheritable_attribute(:format) || OldApiResource::Formats::JsonFormat
end