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/moderation.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, Moderation, NanameueHuman, NotFound, NotPermitted, Predictor, Response, TextCategory, TextClosedQuestion, TextConversation, TextJa, VideoClassification

Constant Summary collapse

VERSION =
'1.5.0'.freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#project_keyObject

Returns the value of attribute project_key.



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

def project_key
  @project_key
end

Class Method Details

.document_verificationObject



81
82
83
# File 'lib/datawow.rb', line 81

def document_verification
  DocumentVerification.new
end

.image_choiceObject



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

def image_choice
  ImageChoice.new
end

.image_closed_questionObject



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

def image_closed_question
  ImageClosedQuestion.new
end

.image_messageObject



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

def image_message
  ImageMessage.new
end

.image_photo_tagObject



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

def image_photo_tag
  ImagePhotoTag.new
end

.moderationObject



85
86
87
# File 'lib/datawow.rb', line 85

def moderation
  Moderation.new
end

.nanameue_humanObject



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

def nanameue_human
  NanameueHuman.new
end

.predictionObject



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

def prediction
  Predictor.new
end

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Datawow)

    the object that the method was called on



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

def setup
  yield self
end

.text_categoryObject



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

def text_category
  TextCategory.new
end

.text_closed_questionObject



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

def text_closed_question
  TextClosedQuestion.new
end

.text_conversationObject



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

def text_conversation
  TextConversation.new
end

.text_jaObject



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

def text_ja
  TextJa.new
end

.video_classificationObject



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

def video_classification
  VideoClassification.new
end