Class: Filbunke::Repository
- Inherits:
-
Object
- Object
- Filbunke::Repository
- Defined in:
- lib/filbunke/repository.rb
Instance Attribute Summary collapse
-
#directory_umask ⇒ Object
Returns the value of attribute directory_umask.
-
#file_umask ⇒ Object
Returns the value of attribute file_umask.
-
#hadoop_binary ⇒ Object
Returns the value of attribute hadoop_binary.
-
#host ⇒ Object
Returns the value of attribute host.
-
#local_path ⇒ Object
Returns the value of attribute local_path.
-
#name ⇒ Object
Returns the value of attribute name.
-
#pass ⇒ Object
Returns the value of attribute pass.
-
#port ⇒ Object
Returns the value of attribute port.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(name, host, port, local_path, file_umask, directory_umask, user = nil, pass = nil, hadoop_binary = nil) ⇒ Repository
constructor
A new instance of Repository.
Constructor Details
#initialize(name, host, port, local_path, file_umask, directory_umask, user = nil, pass = nil, hadoop_binary = nil) ⇒ Repository
Returns a new instance of Repository.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/filbunke/repository.rb', line 6 def initialize(name, host, port, local_path, file_umask, directory_umask, user = nil, pass = nil, hadoop_binary = nil) @name = name @host = host @port = port @local_path = local_path @file_umask = file_umask @directory_umask = directory_umask @user = user @pass = pass @hadoop_binary = hadoop_binary end |
Instance Attribute Details
#directory_umask ⇒ Object
Returns the value of attribute directory_umask.
4 5 6 |
# File 'lib/filbunke/repository.rb', line 4 def directory_umask @directory_umask end |
#file_umask ⇒ Object
Returns the value of attribute file_umask.
4 5 6 |
# File 'lib/filbunke/repository.rb', line 4 def file_umask @file_umask end |
#hadoop_binary ⇒ Object
Returns the value of attribute hadoop_binary.
4 5 6 |
# File 'lib/filbunke/repository.rb', line 4 def hadoop_binary @hadoop_binary end |
#host ⇒ Object
Returns the value of attribute host.
4 5 6 |
# File 'lib/filbunke/repository.rb', line 4 def host @host end |
#local_path ⇒ Object
Returns the value of attribute local_path.
4 5 6 |
# File 'lib/filbunke/repository.rb', line 4 def local_path @local_path end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/filbunke/repository.rb', line 4 def name @name end |
#pass ⇒ Object
Returns the value of attribute pass.
4 5 6 |
# File 'lib/filbunke/repository.rb', line 4 def pass @pass end |
#port ⇒ Object
Returns the value of attribute port.
4 5 6 |
# File 'lib/filbunke/repository.rb', line 4 def port @port end |
#user ⇒ Object
Returns the value of attribute user.
4 5 6 |
# File 'lib/filbunke/repository.rb', line 4 def user @user end |