Class: Dynamodb::Api::Relation::FromClause

Inherits:
Object
  • Object
show all
Defined in:
lib/dynamodb/api/relation/from_clause.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ FromClause

Returns a new instance of FromClause.

Parameters:

  • the table name



10
11
12
# File 'lib/dynamodb/api/relation/from_clause.rb', line 10

def initialize(name)
  @name = Dynamodb::Api::Config.build_table_name(name)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/dynamodb/api/relation/from_clause.rb', line 7

def name
  @name
end