Sha256: 4d89006d9f94afb3da5b9baada3067de22eca9d1f67e077a7becfb6621e36bc9
Contents?: true
Size: 491 Bytes
Versions: 5
Compression:
Stored size: 491 Bytes
Contents
require "flex_commerce_api/api_base" module FlexCommerce # # A flex commerce Bundle model # # It is used much like an active record model. # # Examples: # # # Fetch all reports, paginated # FlexCommerce::Bundle.all # # # Fetch by slug # FlexCommerce::Bundle.find("slug:test") # class Bundle < FlexCommerceApi::ApiBase has_many :bundle_groups, class_name: "::FlexCommerce::BundleGroup" has_many :slugs, class_name: "::FlexCommerce::Slug" end end
Version data entries
5 entries across 5 versions & 1 rubygems