Sha256: 8d72e2d0c28b450c6573d1d94f40fb14138dac2cca18ad2b7b28b973a973d14c
Contents?: true
Size: 360 Bytes
Versions: 26
Compression:
Stored size: 360 Bytes
Contents
module MeducationSDK class EcommerceSubscription < Loquor::Resource self.path = "/ecommerce_subscriptions" def user @user ||= User.find(user_id) end end class EcommerceSubscriptionMock < EcommerceSubscription extend Loquor::ResourceMock self.attributes = { id: 1, user_id: 89, product_id: 1 } end end
Version data entries
26 entries across 26 versions & 1 rubygems