Class: GooglePlus::Configuration
- Defined in:
- lib/google_plus/configuration.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#photo_sizes ⇒ Array<GooglePlus::Size>
Returns an array of photo sizes.
Methods inherited from Base
#[], #initialize, lazy_attr_reader
Constructor Details
This class inherits a constructor from GooglePlus::Base
Instance Method Details
#photo_sizes ⇒ Array<GooglePlus::Size>
Returns an array of photo sizes
13 14 15 16 17 |
# File 'lib/google_plus/configuration.rb', line 13 def photo_sizes @photo_sizes ||= Array(@attrs['photo_sizes']).each_with_object({}) do |(key, value), object| object[key] = GooglePlus::Size.new(value) end end |