Created
July 26, 2018 15:16
-
-
Save Evshved/4e47bad80324b54f54b1c4363dd10939 to your computer and use it in GitHub Desktop.
Same log.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):019:0> list_clients.items.each { |el| p "elem ----- #{el}" } | |
"elem ----- #<Google::Apis::AdsenseV1_4::AdClient:0x00000000080a5750>" | |
"elem ----- #<Google::Apis::AdsenseV1_4::AdClient:0x00000000080a47d8>" | |
=> [#<Google::Apis::AdsenseV1_4::AdClient:0x00000000080a5750 @arc_opt_in=true, @id="ca-pub-7666278362879166", @kind="adsense#adClient", @product_code="AFC", @supports_reporting=true>, #<Google::Apis::AdsenseV1_4::AdClient:0x00000000080a47d8 @id="partner-pub-7666278362879166", @kind="adsense#adClient", @product_code="AFS", @supports_reporting=true>] | |
irb(main):020:0> list_clients.items.first | |
=> #<Google::Apis::AdsenseV1_4::AdClient:0x00000000080a5750 @arc_opt_in=true, @id="ca-pub-7666278362879166", @kind="adsense#adClient", @product_code="AFC", @supports_reporting=true> | |
irb(main):021:0> list_clients.items.first.arc_opt_in | |
=> true | |
irb(main):022:0> list_clients.items.second.arc_opt_in | |
=> nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment