Class: Zena::Remote::Klass

Inherits:
Object
  • Object
show all
Includes:
Interface::ClassMethods
Defined in:
lib/zena/remote/klass.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#create, #new

Methods included from Interface::Logger

#log_message, #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

#connectionObject

Returns the value of attribute connection.



4
5
6
# File 'lib/zena/remote/klass.rb', line 4

def connection
  @connection
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/zena/remote/klass.rb', line 4

def name
  @name
end