Class: Croudia::Source
Instance Attribute Summary collapse
-
#name ⇒ Object
(also: #to_s)
readonly
Returns the value of attribute name.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
Methods inherited from Base
#[], attr_object_reader, attr_reader, #attrs, #initialize, #inspect
Constructor Details
This class inherits a constructor from Croudia::Base
Instance Attribute Details
#name ⇒ Object (readonly) Also known as: to_s
Returns the value of attribute name.
5 6 7 |
# File 'lib/croudia/source.rb', line 5 def name @name end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
5 6 7 |
# File 'lib/croudia/source.rb', line 5 def url @url end |