Class: GenericSite
- Inherits:
-
Object
- Object
- GenericSite
- Defined in:
- lib/multistockphoto/generic_site.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#password ⇒ Object
Returns the value of attribute password.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(name) ⇒ GenericSite
constructor
A new instance of GenericSite.
Constructor Details
#initialize(name) ⇒ GenericSite
Returns a new instance of GenericSite.
6 7 8 |
# File 'lib/multistockphoto/generic_site.rb', line 6 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/multistockphoto/generic_site.rb', line 3 def name @name end |
#password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/multistockphoto/generic_site.rb', line 4 def password @password end |
#user ⇒ Object
Returns the value of attribute user.
4 5 6 |
# File 'lib/multistockphoto/generic_site.rb', line 4 def user @user end |