Sha256: 2336b5d413df17c0b2c30c233ae276499eb21525aa6605a9c7473dc365dd0fb0

Contents?: true

Size: 234 Bytes

Versions: 3

Compression:

Stored size: 234 Bytes

Contents

module OSCRuby
	module NestedResourceModule
		class << self
			def get_resource(rn_client,originator,resource)
				puts "#{originator.class} has an id of #{originator.id}"
				resource.where(rn_client,"id < 100")
			end
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
osc_ruby-0.7.1 lib/osc_ruby/modules/nested_resource_module.rb
osc_ruby-0.7.0 lib/osc_ruby/modules/nested_resource_module.rb
osc_ruby-0.6.0 lib/osc_ruby/modules/nested_resource_module.rb