class Eol::ProviderHierarchies
Contains references to all hierarchies supplied by EOL Content Partners.
Attributes
id[RW]
@return [Integer]
label[RW]
@return [String]
Public Class Methods
new(response)
click to toggle source
# File lib/eol/provider_hierarchies.rb, line 12 def initialize(response) self.id = response['id'] self.label = response['label'] end
Public Instance Methods
each() { |id| ... }
click to toggle source
# File lib/eol/provider_hierarchies.rb, line 17 def each yield @id yield @label end