Skip to content

Commit f91db11

Browse files
Readme changes.
1 parent 17f8c8b commit f91db11

3 files changed

Lines changed: 22 additions & 23 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ branches:
1717
- master
1818
- develop
1919
- /^release-.*/
20-
- v2
2120
script: mvn clean verify

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ System.out.println("response: " + response.toString() );
267267

268268
### Executing Transactions
269269

270-
For executing transactions, you need to understand the 3 modules described below.
270+
For executing transactions, you need to understand the 4 modules described below.
271271

272272
#### Rules Module
273273

@@ -292,6 +292,24 @@ JsonObject response = rulesService.getList( params );
292292
System.out.println("response: " + response.toString() );
293293
```
294294

295+
#### Price Points Module
296+
297+
To know the OST price point in USD and when it was last updated,
298+
use services provided by the Price Points module.
299+
300+
```java
301+
com.ost.services.PricePoints pricePointsService = services.pricePoints;
302+
```
303+
304+
Get Price Points Detail:
305+
306+
```java
307+
HashMap <String,Object> params = new HashMap<String,Object>();
308+
params.put("chain_id", "200");
309+
JsonObject response = pricePointsService.get( params );
310+
System.out.println("response: " + response.toString() );
311+
```
312+
295313
#### Transactions Module
296314

297315
After reviewing the rules information received using services in the Rules
@@ -525,22 +543,4 @@ HashMap <String,Object> params = new HashMap<String,Object>();
525543
params.put("chain_id", "200");
526544
JsonObject response = chainsService.get( params );
527545
System.out.println("response: " + response.toString() );
528-
```
529-
530-
### Price Points Module
531-
532-
To know the OST price point in USD and when it was last updated,
533-
use services provided by the Price Points module.
534-
535-
```java
536-
com.ost.services.PricePoints pricePointsService = services.pricePoints;
537-
```
538-
539-
Get Price Points Detail:
540-
541-
```java
542-
HashMap <String,Object> params = new HashMap<String,Object>();
543-
params.put("chain_id", "200");
544-
JsonObject response = pricePointsService.get( params );
545-
System.out.println("response: " + response.toString() );
546-
```
546+
```

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>ost-sdk-java</artifactId>
66
<version>2.0.0-SNAPSHOT</version>
77
<name>OST SDK for Java</name>
8-
<description>The official OST SDK for Java(https://dev.ost.com).</description>
8+
<description>The official OST Java SDK</description>
99
<packaging>jar</packaging>
1010
<url>https://ost.com/</url>
1111
<licenses>
@@ -124,7 +124,7 @@
124124
<developers>
125125
<developer>
126126
<id>ostdev</id>
127-
<organization>OST.COM</organization>
127+
<organization>OST.COM LTD.</organization>
128128
<organizationUrl>https://ost.com/</organizationUrl>
129129
<roles>
130130
<role>developer</role>

0 commit comments

Comments
 (0)