examples/raw_mode.rb in contentful-0.3.4 vs examples/raw_mode.rb in contentful-0.3.5
- old
+ new
@@ -1,15 +1,14 @@
require 'contentful'
-
client = Contentful::Client.new(
space: 'cfexampleapi',
- access_token: "b4c0n73n7fu1",
+ 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
\ No newline at end of file
+puts entry.raw