class Platforms::Yammer::Api::OpenGraphObjects
Open Graph Objects in Yammer
This is read-only through the API.
@author Benjamin Elias @since 0.1.0
Public Instance Methods
get(url, options={})
click to toggle source
Get open graph obects URL is actually a required parameter so require that when calling this function. @param url [#to_s] URL of the OG item to get @param options [Hash] Options for the request @param headers [Hash] Additional headers to send with the request @return [Faraday::Response] the API response @see developer.yammer.com/docs/open_graph_objects
# File lib/platforms/yammer/api/open_graph_objects.rb, line 20 def get url, options={}, headers={} params = options.merge({url: url}) @connection.get 'open_graph_objects.json', params, headers end