Sha256: b94f3b3e81974045d93efd8a78a1bd1189db797e1ed4aa24f97cea3a9802540b

Contents?: true

Size: 482 Bytes

Versions: 11

Compression:

Stored size: 482 Bytes

Contents

require 'poms'

# Initialize poms with the correct credentials
Poms.configure do |config|
  config.key    = '**poms key**'
  config.origin = '**poms origin**'
  config.secret = '**poms secret**'
end

# Get a single entity from POMS by mid
Poms.first('POMS_S_NTR_2342303')
# => A hash representing the data corresponding to the given MID

# Fetch multiple entities
Poms.fetch(%w(WO_TELEAC_003061 POMS_EO_622912))
# => An array of hashes representing data corresponding to those MIDs

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
poms-2.2.1 examples/fetch.rb
poms-2.2.0 examples/fetch.rb
poms-2.1.3 examples/fetch.rb
poms-2.1.2.1 examples/fetch.rb
poms-2.1.2 examples/fetch.rb
poms-2.1.1 examples/fetch.rb
poms-2.1.0 examples/fetch.rb
poms-2.0.1 examples/fetch.rb
poms-2.0.0 examples/fetch.rb
poms-2.0.0.b examples/fetch.rb
poms-2.0.0.a examples/fetch.rb