Sha256: 61b76aaee2e48b51e3425015a1c8bf121d75635d4aa97b95372b665249cc128c
Contents?: true
Size: 712 Bytes
Versions: 1
Compression:
Stored size: 712 Bytes
Contents
module Journey class Resource < ActiveResource::Base def self.find(*arguments) scope = arguments.slice!(0) self.embeds ||= [] options = arguments.slice!(0) || {} options.deep_merge!(params: { embed: self.embeds }) super *([scope, options] + arguments) end end end require 'journey/resource/api' require 'journey/resource/attribute_loading' require 'journey/resource/enums' require 'journey/resource/queries' require 'journey/resource/search' require 'journey/resource/embed' require 'journey/resource/count' class Journey::Resource include API include Queries include Enums include AttributeLoading include Search include Embed include Count end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
embark-journey-0.0.10 | lib/journey/resource.rb |