Class: PricePointsTest

Inherits:
Test::Unit::TestCase
  • Object
show all
Defined in:
lib/ost-sdk-ruby/test/price_points_test.rb

Instance Method Summary collapse

Instance Method Details

#price_points_serviceObject



8
9
10
# File 'lib/ost-sdk-ruby/test/price_points_test.rb', line 8

def price_points_service
  @price_points_service ||= Config::OST_SDK.services.price_points
end

#test_price_points_getObject



12
13
14
15
16
# File 'lib/ost-sdk-ruby/test/price_points_test.rb', line 12

def test_price_points_get
  result = price_points_service.get(chain_id: Config::OST_KIT_AUX_CHAIN_ID)
  puts "result=>#{result}" unless result["success"]
  assert_equal(result["success"], true )
end