Class: Sistrix::Domain::Kwcount::Sem
- Inherits:
-
Object
- Object
- Sistrix::Domain::Kwcount::Sem
- Includes:
- Base
- Defined in:
- lib/sistrix/domain/kwcount/sem.rb
Defined Under Namespace
Classes: Record
Instance Attribute Summary collapse
-
#credits ⇒ Object
readonly
Returns the value of attribute credits.
-
#kwcount ⇒ Object
readonly
Returns the value of attribute kwcount.
Instance Method Summary collapse
- #call(options = {}) ⇒ Object
-
#initialize(options = {}) ⇒ Sem
constructor
A new instance of Sem.
Methods included from Base
#base_uri, #fetch, #method_name
Constructor Details
#initialize(options = {}) ⇒ Sem
Returns a new instance of Sem.
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/sistrix/domain/kwcount/sem.rb', line 12 def initialize( = {}) @options = { 'history' => nil, 'domain' => nil, 'api_key' => Sistrix.config.api_key, }.merge() if Sistrix.config.proxy RestClient.proxy = Sistrix.config.proxy end end |
Instance Attribute Details
#credits ⇒ Object (readonly)
Returns the value of attribute credits.
10 11 12 |
# File 'lib/sistrix/domain/kwcount/sem.rb', line 10 def credits @credits end |
#kwcount ⇒ Object (readonly)
Returns the value of attribute kwcount.
10 11 12 |
# File 'lib/sistrix/domain/kwcount/sem.rb', line 10 def kwcount @kwcount end |