Module: Datawow

Extended by:
Datawow
Included in:
Datawow
Defined in:
lib/datawow.rb,
lib/datawow/error.rb,
lib/datawow/version.rb,
lib/datawow/connector.rb,
lib/datawow/client_response.rb,
lib/datawow/models/interface.rb,
lib/datawow/models/texts/text_ja.rb,
lib/datawow/models/images/image_choices.rb,
lib/datawow/models/images/image_messages.rb,
lib/datawow/models/images/nanameue_human.rb,
lib/datawow/models/texts/text_categories.rb,
lib/generators/datawow/install_generator.rb,
lib/datawow/models/predictions/predictors.rb,
lib/datawow/models/images/image_photo_tags.rb,
lib/datawow/models/texts/text_conversations.rb,
lib/datawow/models/texts/text_closed_questions.rb,
lib/datawow/models/videos/video_classifications.rb,
lib/datawow/models/images/image_closed_questions.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Generators, Models Classes: BadRequest, Connector, Error, ImageChoice, ImageClosedQuestion, ImageMessage, ImagePhotoTag, NanameueHuman, NotFound, NotPermitted, Predictor, Response, TextCategory, TextClosedQuestion, TextConversation, TextJa, VideoClassification

Constant Summary collapse

VERSION =
'1.3.2'.freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#project_keyObject

Returns the value of attribute project_key.



26
27
28
# File 'lib/datawow.rb', line 26

def project_key
  @project_key
end

Class Method Details

.image_choiceObject



61
62
63
# File 'lib/datawow.rb', line 61

def image_choice
  ImageChoice.new
end

.image_closed_questionObject



53
54
55
# File 'lib/datawow.rb', line 53

def image_closed_question
  ImageClosedQuestion.new
end

.image_messageObject



65
66
67
# File 'lib/datawow.rb', line 65

def image_message
  ImageMessage.new
end

.image_photo_tagObject



57
58
59
# File 'lib/datawow.rb', line 57

def image_photo_tag
  ImagePhotoTag.new
end

.nanameue_humanObject



73
74
75
# File 'lib/datawow.rb', line 73

def nanameue_human
  NanameueHuman.new
end

.predictionObject



69
70
71
# File 'lib/datawow.rb', line 69

def prediction
  Predictor.new
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Datawow)

    the object that the method was called on



29
30
31
# File 'lib/datawow.rb', line 29

def setup
  yield self
end

.text_categoryObject



41
42
43
# File 'lib/datawow.rb', line 41

def text_category
  TextCategory.new
end

.text_closed_questionObject



37
38
39
# File 'lib/datawow.rb', line 37

def text_closed_question
  TextClosedQuestion.new
end

.text_conversationObject



45
46
47
# File 'lib/datawow.rb', line 45

def text_conversation
  TextConversation.new
end

.text_jaObject



49
50
51
# File 'lib/datawow.rb', line 49

def text_ja
  TextJa.new
end

.video_classificationObject



33
34
35
# File 'lib/datawow.rb', line 33

def video_classification
  VideoClassification.new
end