Sha256: 4b9aa6f077d3262d13a5ae01fe7b307c58b2e6dddad1efc2a45125265450d5db

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 Bytes

Contents

module Commons
  class Client
    module Content
      # Use this query to get the information about one product
      #
      # @param id [String] The id for the product number
      # @param options [Hash] A customizable set of options.
      # @return [Array<Hashie::Mash>]
      # @see http://marketplace.civiccommons.org/api
      # @example
      #   Comments.content("13351")
      def content(id,options={})
        get("node/#{id}.json", options)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
commons-0.0.1 lib/commons/client/content.rb