Class: Megam::Mixins::Repo
- Inherits:
-
Object
- Object
- Megam::Mixins::Repo
- Includes:
- Nilavu::MegamAttributes
- Defined in:
- lib/megam/mixins/components.rb
Constant Summary collapse
- ATTRIBUTES =
[ :type, :source, :oneclick, :url]
Constants included from Nilavu::MegamAttributes
Nilavu::MegamAttributes::KEY, Nilavu::MegamAttributes::VALUE
Instance Method Summary collapse
-
#initialize(params) ⇒ Repo
constructor
A new instance of Repo.
Methods included from Nilavu::MegamAttributes
#attributes, #set_attributes, #to_hash
Constructor Details
#initialize(params) ⇒ Repo
Returns a new instance of Repo.
45 46 47 |
# File 'lib/megam/mixins/components.rb', line 45 def initialize(params) set_attributes(params) end |