class PrintfulAPI::Store

Public Class Methods

get( opts={} ) click to toggle source
# File lib/printful_api/store.rb, line 12
def self.get( opts={} )

        data = PrintfulAPI.request( :GET, self.resource_path )

        model = self.new
        model.load_data( data )

        model

end
resource_path() click to toggle source
# File lib/printful_api/store.rb, line 23
def self.resource_path
        '/store'
end