Sha256: 4102cdf095888277e8e4f2a23af2138ae32d2e320a09c20520bc4ad686e273f0

Contents?: true

Size: 287 Bytes

Versions: 56

Compression:

Stored size: 287 Bytes

Contents

require 'contentful'

client = Contentful::Client.new(
  space: 'cfexampleapi',
  access_token: 'b4c0n73n7fu1',
  raw_mode: true,
)

entry = client.entry 'nyancat'
p entry.is_a? Contentful::Resource # false
p entry.is_a? Contentful::Response # true
p entry.status
p entry
puts entry.raw

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
contentful-2.16.0 examples/raw_mode.rb
contentful-2.15.4 examples/raw_mode.rb
contentful-2.15.3 examples/raw_mode.rb
contentful-2.15.2 examples/raw_mode.rb
contentful-2.15.1 examples/raw_mode.rb
contentful-2.15.0 examples/raw_mode.rb
contentful-2.14.0 examples/raw_mode.rb
contentful-2.13.3 examples/raw_mode.rb
contentful-2.13.2 examples/raw_mode.rb
contentful-2.13.1 examples/raw_mode.rb
contentful-2.13.0 examples/raw_mode.rb
contentful-2.12.0 examples/raw_mode.rb
contentful-2.11.1 examples/raw_mode.rb
contentful-2.11.0 examples/raw_mode.rb
contentful-2.10.1 examples/raw_mode.rb
contentful-2.10.0 examples/raw_mode.rb
contentful-2.9.4 examples/raw_mode.rb
contentful-2.9.3 examples/raw_mode.rb
contentful-2.9.2 examples/raw_mode.rb
contentful-2.9.1 examples/raw_mode.rb