Sha256: 86519daa1ee5f68ca888be94c33d70132ff177dde1c9b510d3ff04d8bb20b7d4

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 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

8 entries across 8 versions & 2 rubygems

Version Path
ruby_shopify_api-1.2.0 lib/ruby_shopify_api/meta.rb
ruby_shopify_api-1.1.0 lib/shopify_api/meta.rb
ruby_shopify_api-1.0.0 lib/shopify_api/meta.rb
shopify_api-9.5.1 lib/shopify_api/meta.rb
shopify_api-9.5 lib/shopify_api/meta.rb
shopify_api-9.4.1 lib/shopify_api/meta.rb
shopify_api-9.4.0 lib/shopify_api/meta.rb
shopify_api-9.3.0 lib/shopify_api/meta.rb