Class: Gecko::Record::CurrencyAdapter

Inherits:
BaseAdapter show all
Defined in:
lib/gecko/record/currency.rb

Instance Attribute Summary

Attributes inherited from BaseAdapter

#client, #last_response

Instance Method Summary collapse

Methods inherited from BaseAdapter

#build, #count, #extract_collection, #extract_record, #fetch, #find, #find_many, #first, #forty_two, #has_record_for_id?, #initialize, #instantiate_and_register_record, #parse_records, #peek_all, #record_for_id, #save, #size, #where

Constructor Details

This class inherits a constructor from Gecko::Record::BaseAdapter

Instance Method Details

#plural_pathObject

Override plural_path to properly pluralize currency



20
21
22
# File 'lib/gecko/record/currency.rb', line 20

def plural_path
  'currencies'
end