Sha256: 2c7b2c8b1179f978a62dda9f56490f897947db3c05bed96b6c3b9e83b7c7e506

Contents?: true

Size: 482 Bytes

Versions: 7

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

7 entries across 7 versions & 1 rubygems

Version Path
poms-3.0.0 examples/fetch.rb
poms-2.6.0 examples/fetch.rb
poms-2.5.1 examples/fetch.rb
poms-2.5.0 examples/fetch.rb
poms-2.4.0 examples/fetch.rb
poms-2.3.1 examples/fetch.rb
poms-2.3.0 examples/fetch.rb