Skip to content

Commit

Permalink
remove gitbook reference from template. (#11)
Browse files Browse the repository at this point in the history
* remove gitbook reference from template.

* Update urban dictionary client
  • Loading branch information
spolti authored Aug 16, 2018
1 parent 634159c commit a36750c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ message: |-
ReBot Telegram User ID: ${REBOT_TELEGRAM_USER_ID}
ReBot Telegram Chat ID: ${REBOT_TELEGRAM_CHAT_ID}
ReBot Log Level: ${REBOT_TELEGRAM_LOG_LEVEL}
ReBot GitBook Token: ${REBOT_TELEGRAM_GITBOOK_ID}
For more information about using this template, see https://github.com/rebase-it/rebot/rebot-docker-container.
parameters:
Expand Down Expand Up @@ -116,7 +115,7 @@ objects:
from:
kind: ImageStreamTag
namespace: "${IMAGE_STREAM_NAMESPACE}"
name: rebot-telegram-bot:1.0
name: rebot-telegram-bot:0.2
- type: ConfigChange
replicas: 1
selector:
Expand Down Expand Up @@ -159,8 +158,6 @@ objects:
value: "${REBOT_TELEGRAM_USER_ID}"
- name: REBOT_TELEGRAM_CHAT_ID
value: "${REBOT_TELEGRAM_CHAT_ID}"
- name: REBOT_TELEGRAM_GITBOOK_ID
value: "${REBOT_TELEGRAM_GITBOOK_ID}"
volumes:
- name: "${APPLICATION_NAME}-volume"
persistentVolumeClaim:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

import org.codehaus.jackson.annotate.JsonProperty;
import java.io.Serializable;
import java.util.List;

public class TermDefinition implements Serializable {

Expand All @@ -46,6 +47,7 @@ public class TermDefinition implements Serializable {
@JsonProperty("current_vote")
@com.fasterxml.jackson.annotation.JsonProperty("current_vote")
private String currentVote;
private List<String> sound_urls;

public long getId() {
return defid;
Expand Down Expand Up @@ -127,6 +129,14 @@ public void setWritten_on(String written_on) {
this.written_on = written_on;
}

public List<String> getSound_urls() {
return sound_urls;
}

public void setSound_urls(List<String> sound_urls) {
this.sound_urls = sound_urls;
}

@Override
public String toString() {
return "TermDefinition{" +
Expand Down

0 comments on commit a36750c

Please sign in to comment.