lib/etherlite/address.rb in etherlite-0.1.0 vs lib/etherlite/address.rb in etherlite-0.1.1
- old
+ new
@@ -1,21 +1,17 @@
module Etherlite
class Address
include Etherlite::Api::Address
- attr_reader :connection, :address
+ attr_reader :connection, :normalized_address
def initialize(_connection, _normalized_address)
@connection = _connection
- @address = _normalized_address
+ @normalized_address = _normalized_address
end
def to_s
# TODO: format address using case-chechsum
address
end
-
- private
-
- attr_reader :normalized_address
end
end