Class: Nis::Struct::Transaction

Inherits:
Object
  • Object
show all
Includes:
Util::Assignable
Defined in:
lib/nis/struct/transaction.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_hash, #to_json

Instance Attribute Details

#deadlineInteger

Returns the current value of deadline.

Returns:

  • (Integer)

    the current value of deadline



9
10
11
# File 'lib/nis/struct/transaction.rb', line 9

def deadline
  @deadline
end

#feeInteger

Returns the current value of fee.

Returns:

  • (Integer)

    the current value of fee



9
10
11
# File 'lib/nis/struct/transaction.rb', line 9

def fee
  @fee
end

#signerString

Returns the current value of signer.

Returns:

  • (String)

    the current value of signer



9
10
11
# File 'lib/nis/struct/transaction.rb', line 9

def signer
  @signer
end

#timeStampObject Also known as: timestamp

Returns the value of attribute timeStamp.



11
12
13
# File 'lib/nis/struct/transaction.rb', line 11

def timeStamp
  @timeStamp
end

#typeInteger

Returns the current value of type.

Returns:

  • (Integer)

    the current value of type



9
10
11
# File 'lib/nis/struct/transaction.rb', line 9

def type
  @type
end

#versionInteger

Returns the current value of version.

Returns:

  • (Integer)

    the current value of version



9
10
11
# File 'lib/nis/struct/transaction.rb', line 9

def version
  @version
end

Class Method Details

.build(attrs) ⇒ Object



16
17
18
# File 'lib/nis/struct/transaction.rb', line 16

def self.build(attrs)
  new(attrs)
end