Class: GenericSite

Inherits:
Object
  • Object
show all
Defined in:
lib/multistockphoto/generic_site.rb

Direct Known Subclasses

Aldi, Fotolia, Zoonar

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/multistockphoto/generic_site.rb', line 3

def name
  @name
end

#passwordObject

Returns the value of attribute password.



4
5
6
# File 'lib/multistockphoto/generic_site.rb', line 4

def password
  @password
end

#userObject

Returns the value of attribute user.



4
5
6
# File 'lib/multistockphoto/generic_site.rb', line 4

def user
  @user
end