Module: Datawow

Extended by:
Datawow
Included in:
Datawow
Defined in:
lib/datawow.rb,
lib/datawow/error.rb,
lib/datawow/version.rb,
lib/datawow/response.rb,
lib/datawow/connector.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/images/document_verification.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, DocumentVerification, Error, ImageChoice, ImageClosedQuestion, ImageMessage, ImagePhotoTag, NanameueHuman, NotFound, NotPermitted, Predictor, Response, TextCategory, TextClosedQuestion, TextConversation, TextJa, VideoClassification

Constant Summary collapse

VERSION =
'1.4.3'.freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#project_keyObject

Returns the value of attribute project_key.



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

def project_key
  @project_key
end

Class Method Details

.document_verificationObject



78
79
80
# File 'lib/datawow.rb', line 78

def document_verification
  DocumentVerification.new
end

.image_choiceObject



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

def image_choice
  ImageChoice.new
end

.image_closed_questionObject



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

def image_closed_question
  ImageClosedQuestion.new
end

.image_messageObject



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

def image_message
  ImageMessage.new
end

.image_photo_tagObject



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

def image_photo_tag
  ImagePhotoTag.new
end

.nanameue_humanObject



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

def nanameue_human
  NanameueHuman.new
end

.predictionObject



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

def prediction
  Predictor.new
end

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Datawow)

    the object that the method was called on



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

def setup
  yield self
end

.text_categoryObject



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

def text_category
  TextCategory.new
end

.text_closed_questionObject



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

def text_closed_question
  TextClosedQuestion.new
end

.text_conversationObject



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

def text_conversation
  TextConversation.new
end

.text_jaObject



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

def text_ja
  TextJa.new
end

.video_classificationObject



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

def video_classification
  VideoClassification.new
end