Sha256: b15acd7598f09631d9833afbce1d11f44d0439ffa786cb3f81dee00b747e5769

Contents?: true

Size: 251 Bytes

Versions: 4

Compression:

Stored size: 251 Bytes

Contents

require 'http'

module Selly
  module Operations
    module Show
      def show(resource_id, options = {})
        HTTP.get("#{API_ROOT}#{resource_url}/#{resource_id}", headers: Selly.request_headers, params: options).parse
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
selly-1.1.2 lib/selly/operations/show.rb
selly-1.1.1 lib/selly/operations/show.rb
selly-1.1.0 lib/selly/operations/show.rb
selly-1.0.1 lib/selly/operations/show.rb