Sha256: b5114503b6acc282024fe391eb67cab5f676cc3a1cc86ae0c34283ea0f2f57d1

Contents?: true

Size: 321 Bytes

Versions: 9

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true
module ShopifyAPI
  class Meta < ActiveResource::Base
    self.site = "https://app.shopify.com/services/"
    self.element_name = 'api'
    self.primary_key = :handle
    self.timeout = 5

    def self.admin_versions
      all.find { |api| api.handle = :admin }.versions
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shopify_api-9.2.0 lib/shopify_api/meta.rb
shopify_api-9.1.0 lib/shopify_api/meta.rb
shopify_api-9.0.4 lib/shopify_api/meta.rb
shopify_api-9.0.3 lib/shopify_api/meta.rb
shopify_api-9.0.2 lib/shopify_api/meta.rb
shopify_api-9.0.1 lib/shopify_api/meta.rb
shopify_api-9.0.0 lib/shopify_api/meta.rb
shopify_api-8.1.0 lib/shopify_api/meta.rb
shopify_api-8.0.0 lib/shopify_api/meta.rb