class Qualification

Attributes

data_provider[RW]
data_provider_url[RW]
title[RW]
type[RW]

Public Class Methods

from_hash(hash) click to toggle source
# File lib/miiCardConsumers.rb, line 266
def self.from_hash(hash)
        return Qualification.new(
                hash["Type"],
                hash["Title"],
                hash["DataProvider"],
                hash["DataProviderUrl"]
        )
end
new(type, title, data_provider, data_provider_url) click to toggle source
# File lib/miiCardConsumers.rb, line 259
def initialize(type, title, data_provider, data_provider_url)
        @type = type
        @title = title
        @data_provider = data_provider
        @data_provider_url = data_provider_url
end