Class: Zena::Remote::Klass
- Inherits:
-
Object
- Object
- Zena::Remote::Klass
- Includes:
- Interface::ClassMethods
- Defined in:
- lib/zena/remote/klass.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(connection, name) ⇒ Klass
constructor
A new instance of Klass.
Methods included from Interface::Read::ClassMethods
#all, #count, #find_url, #first, #get, #process_find
Methods included from Interface::Read
#all, #count, #find, #first, #search
Methods included from Interface::Create::ClassMethods
Methods included from Interface::Logger
Constructor Details
#initialize(connection, name) ⇒ Klass
Returns a new instance of Klass.
8 9 10 11 |
# File 'lib/zena/remote/klass.rb', line 8 def initialize(connection, name) @connection = connection @name = name end |
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
4 5 6 |
# File 'lib/zena/remote/klass.rb', line 4 def connection @connection end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/zena/remote/klass.rb', line 4 def name @name end |