Module: OembedProvidable::Provided::InstanceMethods
- Defined in:
- lib/oembed_providable.rb
Instance Method Summary collapse
- #oembed_max_dimensions ⇒ Object
- #oembed_max_dimensions=(options) ⇒ Object
- #oembed_response(options = {}) ⇒ Object
Instance Method Details
#oembed_max_dimensions ⇒ Object
196 197 198 |
# File 'lib/oembed_providable.rb', line 196 def @oembed_max_dimensions || { :height => nil, :width => nil } end |
#oembed_max_dimensions=(options) ⇒ Object
191 192 193 194 |
# File 'lib/oembed_providable.rb', line 191 def () = { :height => nil, :width => nil } if .blank? @oembed_max_dimensions = end |
#oembed_response(options = {}) ⇒ Object
187 188 189 |
# File 'lib/oembed_providable.rb', line 187 def ( = {}) @oembed_response ||= self.class::OembedResponse.new(self, ) end |